package edu.bbu.bibliospring.common.dto;

/**
 * Created by anna on 6/5/14.
 */
public class LocationDto extends DataTransferObject {

    private static final long serialVersionUID = 1L;

    private Long id;
    private String libraryName;
    private String address;

    public LocationDto() {super(LocationDto.class.getName());}

    public LocationDto(String modelClass) {
        super(modelClass);
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getLibraryName() {
        return libraryName;
    }

    public void setLibraryName(String libraryName) {
        this.libraryName = libraryName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString( ) {
        return "LocationDto [id=" + this.id + ", libraryName=" + this.libraryName + ", address=" + this.address + "]";
    }
}
